package com.mairuide.excel_rule.dao;

import com.mairuide._frame.base.BaseRepository;
import com.mairuide.excel_rule.pojo.ExcelRule;

import java.util.List;

import org.springframework.stereotype.Repository;

/**
 * @Description
 * @auther 刘中华
 * @create 2019-03-21 17:27
 */
@Repository
public interface ExcelRuleDao extends BaseRepository<ExcelRule> {
    //根据规则id来找对应的规则
    ExcelRule findById(Integer id);
    //根据标题头查找对应的规则
    List<ExcelRule> findByTitleHead(String titleHead);
}
